package cn.house.dao;

import java.util.List;

import cn.house.entity.Street;
import util.HibernateUtil;

public class StreetDaoImpl implements StreetDao {

	
	@Override
	public List<Street> listStreetByDid(Integer did) {
		return HibernateUtil.currentSession().createQuery("from Street where district.id = ?").setParameter(0, did).list();
	}
}